import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';
import { t } from '/@/hooks/web/useI18n';

const system: AppRouteModule = {
  path: '/system',
  //name: 'system111',
  component: LAYOUT,
  //redirect: '/system/role',
  meta: {
    //orderNo: 10,
    //icon: 'ion:grid-outline',
    title: '系统管理11',
  },
  children: [
    {
      path: 'role',
      // name: 'Role',
      component: () => import('/@/views/system/spaUserRole/index.vue'),
      meta: {
        title: '角色管理',
      },
    },
    {
      path: 'spaUser',
      name: 'SpaUser',
      component: () => import('/@/views/system/spaUser/index.vue'),
      meta: {
        title: '用户管理',
      },
    },
    {
      path: 'sysLog',
      name: 'SysLog',
      component: () => import('/@/views/system/sysLog/index.vue'),
      meta: {
        title: '系统日志',
      },
    },
    {
      path: 'gen',
      name: 'Gen',
      component: () => import('/@/views/system/gen/index.vue'),
      meta: {
        title: '代码生成1',
      },
    },
  ],
};

export default system;
